/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.giftmemo.objects.impl;

import com.giftmemo.objects.Gift;
import com.giftmemo.objects.TypeOfGift;

/**
 *
 * @author Egor
 */
public class GiftImpl implements Gift {

    private float price;
    private TypeOfGift typeOfGift;
    private boolean like;
    private String shopName;
    private String giftDescription;
    
    public GiftImpl() {
    }

    public GiftImpl(float price, TypeOfGift typeOfGift, boolean like, String shopName) {
        this.price = price;
        this.typeOfGift = typeOfGift;
        this.like = like;
        this.shopName = shopName;
    }

    @Override
    public void setPrice(float price) {
        this.price = price;
    }

    @Override
    public float getPrice() {
        return price;
    }

    @Override
    public TypeOfGift getGiftType() {
        return typeOfGift;
    }

    @Override
    public void setGiftType(TypeOfGift typeOfGift) {
        this.typeOfGift = typeOfGift;
    }

    @Override
    public boolean isLike() {
        return like;
    }

    @Override
    public void setLike(boolean like) {
        this.like = like;
    }

    @Override
    public String getShopName() {
        return shopName;
    }

    @Override
    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    @Override
    public String getGiftDescription() {
        return giftDescription;
    }

    @Override
    public void setGiftDescription(String giftDescription) {
        this.giftDescription = giftDescription;
    }

}
